package com.mrtaohuan.render;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.google.inject.Inject;
import com.mrtaohuan.render.freemarker.AbstractFreeMarkerRender;

public class HttpContext {
	/**
	 * Request.
	 */
	@Inject
	private HttpServletRequest request;

	/**
	 * Response.
	 */
	@Inject
	private HttpServletResponse response;

	/**
	 * Renderer.
	 */
	private AbstractFreeMarkerRender renderer;

	public HttpServletRequest getRequest() {
		return request;
	}

	public void setRequest(HttpServletRequest request) {
		this.request = request;
	}

	public HttpServletResponse getResponse() {
		return response;
	}

	public void setResponse(HttpServletResponse response) {
		this.response = response;
	}

	public AbstractFreeMarkerRender getRenderer() {
		return renderer;
	}

	public void setRenderer(AbstractFreeMarkerRender renderer) {
		this.renderer = renderer;
	}

}
